import axios from 'axios'








class Auth {

  __id = []
  __keys = []
  __ldng = false
  __lodd = false

  contains(vl){

    console.log(this.__id);
    if(!vl)
      return false
    if(/^[\d\-]+$/.test(vl)){
      return this.containsKey(vl)
    }
    if(/^[\da-zA-Z]+$/.test(vl)){
      return this.containsSKey(vl)
    }
    return false
  }


  containsKey(val){
    return false
  }

  containsSKey(){
    return false
  }

  isLoaded(){
    return this.__lodd
  }

  setLoaded(){
    this.__lodd = true
  }

  isLoading(){
    return this.__ldng
  }

  load(){
    if(this.isLoaded())
      return

  }

  add(str){
    str && this.__id.push(str);
  }


}

const auth = new Auth()

export default auth;
